package com.wei.czz.framework.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import com.wei.czz.common.tool.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wei
 * date: 2021-09-26 22:09:00
 * className: HistoryPasswordEntity 用户历史密码表实体类
 * version: 1.0
 * description:
 * 	用户历史密码表
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_history_password")
public class HistoryPasswordEntity extends BaseEntity {

	/**
	 * 主键值
	 * 主键类型：自增主键
	 */
	@TableId(type = IdType.AUTO)
	private Long id;

	/**
	 * 用户id
	 */
	private Long userId;

	/**
	 * 用户旧密码
	 */
	private String oldPassword;

	/**
	 * 创建时间
	 */
	private Date createTime;

}
